.note-sidebar {
  height: 100%;
  position: relative;
  width: 320px;
  border-right: 1px solid #ccc;
  background-color: #eee;

  .add-note {
    cursor: pointer;
    position: absolute;
    right: 5px;
    top: 12px;
    color: #666;
    font-size: 12px;
    padding: 2px 4px;
    box-shadow: 0px 0px 2px 0px #eee;
    border: 1px solid #eee;
    border-radius: 4px;
    z-index: 1;
    display: flex;
    align-items: center;
    background: #fffeff;
    &:hover {
      background-color: #f5fafd;
    }
  }

  .notebook-title {
    font-size: 18px;
    font-weight: normal;
    color: #333;
    height: 45px;
    line-height: 45px;
    text-align: center;
    border-bottom: 1px solid #ccc;
    background-color: #f7f7f7;
    display: block;
  }
  .el-dropdown-link {
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .el-dropdown-menu__item {
    width: 200px;
  }

  .menu {
    display: flex;

    div {
      font-size: 14px;
      padding: 2px 10px;
      flex: 1;
      border-right: 1px solid #ccc;
      border-bottom: 1px solid #ccc;

      &:last-child {
        border-right: none;
      }
    }
  }

  .notes {
    li {
      &:nth-child(odd) {
        background-color: #f2f2f2;
      }
      cursor: pointer;
      a {
        display: flex;
        padding: 3px 0;
        font-size: 14px;
        border: 1px solid transparent;
      }
      transition: all 0.25s ease;
      &:hover {
        background: #83c2b3;
      }
      .active {
        border: 1px solid #83c2b3;
        background: #83c2b3;
      }

      span {
        padding: 0 10px;
        flex: 1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }
    }
  }
}
